STEP 3: Now let's display the value of our r variable.

  • In GRAPHICS, go to and drag in Text in Color.
  • Rename the text object from sprite to red.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)